package org.window;

import javafx.geometry.Pos;
import javafx.scene.layout.*;

/**
 * 右边 首次搜索 / 再此搜索 / 终止搜索
 */
public class PaneAndHBoxFrameAndColumnVBoxAndPaneAndHBox {
    public static HBox hBox = new HBox();
    public static void init(){
        hBox.setPrefWidth(280);
        hBox.setPrefHeight(50);
        hBox.setLayoutX(0);
        hBox.setLayoutY(0);
        hBox.setAlignment(Pos.CENTER_LEFT);
        hBox.setSpacing(10);
//        hBox.setBackground(new Background(new BackgroundImage(new Image("bgk.jpg"), BackgroundRepeat.NO_REPEAT ,BackgroundRepeat.REPEAT, BackgroundPosition.CENTER, BackgroundSize.DEFAULT)));

        hBox.getChildren().addAll(
                PaneAndHBoxFrameAndColumnVBoxAndPaneAndHBoxAndText.text,
                PaneAndHBoxFrameAndColumnVBoxAndPaneAndHBoxAndComCoBox.comboBox
        );
        PaneAndHBoxFrameAndColumnVBoxAndPaneAndHBoxAndText.init();
        PaneAndHBoxFrameAndColumnVBoxAndPaneAndHBoxAndComCoBox.init();

    }
}
